#set($layout = "/layout/no.html")  
#parse("/common/common.html")
##grid
<div class="page-content">
	<div class="page-content-area">
		<div class="row">
			<form id="mainForm" action="#" class="form-horizontal">
				<input name="libraryId" type="hidden" value="$!{record.libraryId}" /> 
				<input name="warchouseId" type="hidden" value="$!{record.warchouseId}" />

				<div class="col-xs-12 col-sm-6">
					<div class="form-group">
						<label class="col-xs-2 col-sm-4 control-label no-padding-right"
							for="warchouseName"><span class="form-require">*</span>仓库名称</label>
						<div class="col-xs-10 col-sm-8">
							<input class="form-control required" type="text"
								id="warchouseName" name="warchouseName" placeholder="物料名称"
								value="$!{warchouseName}" readonly="readonly" />
						</div>
					</div>
				</div>

				<div class="col-xs-12 col-sm-6">
					<div class="form-group">
						<label class="col-xs-2 col-sm-4 control-label no-padding-right"
							for="libraryName"><span class="form-require">*</span>库位编码</label>
						<div class="col-xs-10 col-sm-8">
							<input class="form-control required" type="text" id="libraryName"
								name="libraryName" placeholder="库位编码" value="$!{record.libraryName}" />
						</div>
					</div>
				</div>

				<div class="col-xs-12 col-sm-6">
					<div class="form-group">
						<label class="col-xs-2 col-sm-4 control-label no-padding-right"
							for="libraryStatus"><span class="form-require">*</span>状态</label>
						<div class="col-xs-10 col-sm-8">
							<select class="form-control required" id="libraryStatus"
								name="libraryStatus"> #select($dicts.useStatus $record.libraryStatus)
							</select>
						</div>
					</div>
				</div>

				<div class="col-xs-12">
					<div class="form-group">
						<label class="col-xs-1 col-sm-2 control-label no-padding-right"
							for="libraryDesc"><span class="form-require">*</span>描述</label>
						<div class="col-xs-11 col-sm-10">
							<input class="form-control required" type="text" id="libraryDesc"
								name="libraryDesc" placeholder="描述" value="$!{record.libraryDesc}" />
						</div>
					</div>
				</div>


			</form>
		</div>
	</div>
</div>
		
<script src="${contextPath}/view/depot/library/js/edit.js"></script>